package org.fanximall.erp.system.infrastructure.convert;

import org.fanximall.erp.system.infrastructure.dao.entity.SysDeptDO;
import org.fanximall.erp.system.domain.model.SysDeptModel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author :  william
 * @version :  V1.0  created in 2024/4/19
 */
@Mapper
public interface DeptConverter {

    DeptConverter INSTANCE = Mappers.getMapper(DeptConverter.class);

    List<SysDeptModel> convertModel(List<SysDeptDO> sysDeptDOS);
}
